set terminal png
set output 'testando.png'
plot "algo1.dat" using 1:3 title "linha 1" with lines, "algo2.dat" using 1:3 title "linha 2" with lines, "algo3.dat" using 1:3 title "linha 3" with lines